import request from '@/utils/request'

export function getAboutContent() {
  return request({
    url: '/ajax/admin/options/about/content',
    method: 'post'
  })
}

export function editAboutInfo(params) {
  return request({
    url: '/ajax/admin/options/about/save',
    method: 'post',
    params
  })
}

export function getSettings() {
  return request({
    url: '/ajax/admin/options/settings',
    method: 'post'
  })
}

export function editSettings(params) {
  return request({
    url: '/ajax/admin/options/settings/save',
    method: 'post',
    params
  })
}
